package practice;

/**
 * Created with IntelliJ IDEA
 * Description:
 * User: Administrator
 * Data: 2023 - 06 - 04
 * Time: 14:25
 */
class Outclass {
    public int data1 = 1;

    class InnerClass {
        public int data1 = 11;
       public void test() {
           System.out.println(this.data1);
           System.out.println(Outclass.this.data1);
       }
    }
}
public class Test1 {
    public static void main(String[] args) {
        Outclass.InnerClass innerClass2 = new Outclass().new InnerClass();
        innerClass2.test();
    }
}
